package org.jeecg.modules.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.jeecg.common.system.vo.ComSysUser;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: diy_table_status
 * @Author: Zhang haoyu
 * @Date:   2020-05-25
 * @Version: V1.0
 */
@Data
@TableName("diy_table_status")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="diy_table_status对象", description="diy_table_status")
public class DiyTableStatus implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ID_WORKER_STR)
    @ApiModelProperty(value = "id")
    private String id;
	/**创建人*/
    @ApiModelProperty(value = "创建人")
    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建日期")
    private Date createTime;
	/**更新人*/
    @ApiModelProperty(value = "更新人")
    private String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "更新日期")
    private Date updateTime;
	/**专家表单id*/
	@Excel(name = "专家表单id", width = 15)
    @ApiModelProperty(value = "专家表单id")
    private String professorTableId;
	/**表单状态*/
	@Excel(name = "表单状态", width = 15)
    @ApiModelProperty(value = "表单状态")
    private String tableStatus;
	/**审核人id*/
	@Excel(name = "审核人id", width = 15)
    @ApiModelProperty(value = "审核人id")
    private String checkerId;

	@TableField(exist = false)
	@ApiModelProperty(value = "对应表单的信息")
	private DiyProfessorInfo professorInfo;

    @TableField(exist = false)
	@ApiModelProperty(value = "审核人员信息")
	private ComSysUser sysUser;
}
